﻿using System;
using System.Web.Optimization;

namespace Pay.Web {
	public class BundleConfig {
		// 有关绑定的详细信息，请访问 http://go.microsoft.com/fwlink/?LinkId=301862
		public static void RegisterBundles(BundleCollection bundles) {
			bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
						"~/scripts/jquery-{version}.js"));

			bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
						"~/scripts/jquery.validate*"));

			// 使用要用于开发和学习的 Modernizr 的开发版本。然后，当你做好
			// 生产准备时，请使用 http://modernizr.com 上的生成工具来仅选择所需的测试。
			bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
						"~/scripts/modernizr-*"));

			bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include(
					  "~/scripts/bootstrap.js",
					  "~/scripts/respond.js"));

			bundles.Add(new StyleBundle("~/content/bootstrap").Include(
					  "~/content/bootstrap.css",
					  //"~/content/jquery-ui.css",
					  //"~/content/jquery-ui.structure.css",
					  //"~/content/jquery-ui.theme.css",
					  "~/content/bootstrap-datetimepicker.css",
					  "~/content/style.css"));
			bundles.Add(new StyleBundle("~/content/font-awesome").Include(
					  "~/content/font-awesome.css"));
			bundles.Add(new StyleBundle("~/content/admin").Include(
					  "~/content/admin.css"));
			bundles.Add(new StyleBundle("~/content/merchant").Include(
					  "~/content/merchant.css"));
		}
	}
}
